//
//  TraeNode.h
//  Conference Track Management
//
//  Created by Jiang on 2018/10/22.
//  Copyright © 2018 jiang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Talk.h"
NS_ASSUME_NONNULL_BEGIN
@interface TraceNode : NSObject
{
@public
    id <Talk>_currentTalk;
    TraceNode *_lastNode;
}
@property (nonatomic, readonly)id <Talk>currentTalk;
@property (nonatomic, readonly)TraceNode *lastNode;
@property (nonatomic, readonly)NSArray<id <Talk>> *talks;

- (instancetype)initWithTalk:(id <Talk>)talk lastNode:(nullable TraceNode *)lastNode;
@end

NS_ASSUME_NONNULL_END
